<div class="m-container" ng-controller="chatController">
    <div class="m-chat wh100">
        <div class="chatHead dfr aic jsc f14">{{service.nickname}}</div>
        <div class="c-container " id="chatContainer" container-scroll>
            <!--聊天内容框-->
            <!--<div class="c-content">-->
            <div class="c-content scrollable-content" scroll-able scroll-down="messageListShow" id="chatContent" touch-reload="touch._y+'&'+touch.end"
                touch-obj="touch" reload-fun="getMore" scroll-down2>
                <span class="reload-tips w100 dfr aic jsc"><i class="icon-spinner icon-large"></i><a></a></span>
                <div class="href getMore text-center"> {{more}}</div>
                <!--固定-->
                <ul class="chat-list">
                    <li class="you chatItem">
                        <img alt="头像" ng-src="{{servicePic}}" class="headpicture-chat">
                        <div class="chat-text text">
                            <span class="f14">您好，很高兴为您解答问题</span>
                            <div class="f12 c78 textZhu">注：可以根据您客户的信息给他出具全生命周期的精准健康服务产品</div>
                        </div>
                        <div class="arrow arrow2"></div>
                    </li>
                    <div class="clear-both"></div>
                </ul>
                <ul class="chat-list" ng-repeat="item in productList" ng-show="false">
                    <li class="me chatItem">
                        <img alt="头像" ng-src="{{user.avatar}}" class="headpicture-chat">
                        <div class="chat-text text " >
                            <div class="proItemN5 dfr aic"> 
                                  <div class="proLogo dfr aic jsc"><img ng-src="{{item.supplierAvatar}}"></div>
                                <div class="proRight dfc h100 jssa">
                                    <p class="over-hide f14 c4c4 name ls1">{{item.name}}</p>
                                    <p class="over-hide f12 c929 ls1">{{item.describe}}</p>
                                    <div class="f14 c4c4"><span class="f12">￥</span>{{item.price?(item.price ):(item.originalPrice)}}</div>
                                </div>
                            </div>
                        </div>
                        <div class="arrow arrow2"></div>
                    </li>
                    <div class="clear-both"></div>
                </ul>

                <ul class="chat-list" ng-repeat="msg in messageListShow">
                    <!--正式数据-->
                    <!--<div class="timeShow" ng-show="msg.timeShow && service.userId>=0 ">{{msg.date | date: 'yyyy-MM-dd HH:mm:ss'}}</div>-->
                    <li class="{{msg.from==userId?'me':'you'}} chatItem" ng-show="msg.from == service.userId || (msg.from== userId && msg.to == service.userId)">
                        <img alt="头像" ng-src="{{servicePic}}" class="headpicture-chat" ng-show="msg.from== service.userId">
                        <img alt="头像" ng-src="{{user.avatar}}" class="headpicture-chat" ng-show="msg.from== userId">
                        <!--<div class="chat-text-wrap">-->
                        <div class="chat-text text" ng-bind-html=" (msg.text |trustHtml)" img-handler>
                            <!--{{msg.text}}-->
                        </div>
                        <div class="arrow arrow2"></div>
                        <!--</div>-->
                    </li>
                    <div class="clear-both"></div>
                </ul>
            </div>
            <!--</div>-->
            <!--输入框-->
            <div class="c-bottom dfr aic jssa w100">
                <div contenteditable="true" class="myText msgedit c-input" id="send_msg_text" div-filter></div>
                <!--<input class="c-input msgedit" ng-keypress="sendMsg($event)" id="send_msg_text">-->
                <div class="c-face " ng-click="scrollTop()"></div>
                <!-- <input class="c-photo"   type="file"   id="upd_pic" accept="image/*"capture="camera" >; -->
                <div class="c-photo" ng-click="choosePic()"></div>
                <div class="c-btn" ng-click="sendMsg()">发送</div>
            </div>
        </div>
    </div>
</div>